import request  from "../request.js"

const Api = {
    file: '/file/upload/img',
}
/**
 * 文件上传接口,通过函数返回axios实例的baseUrl
 * @return {url}
 */
export function fileUpload() {
    return request.defaults.baseURL + Api.file
}

